home *** CD-ROM | disk | FTP | other *** search
/ PC Open 107 / PC Open 107 CD 2.bin / CD2 / PDF / Corsi / PHP / lezione_3 / vulnerabile.php < prev   
Encoding:
PHP Script  |  2004-12-23  |  480 b   |  14 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
  2. <html>
  3. <head>
  4.     <title>Vulnerabilita'</title>
  5. </head>
  6. <body>
  7. <?php
  8.     if ($autenticato==1) {
  9.     // per accedere a questa parte basta scrivere come indirizzo della pagina vulnerabile.php?autenticato=1 se register_globals=On su php.ini
  10.         echo "<h4>Queste informazioni dovrebbero essere leggibili solo da parte di chi sia stato autenticato</h4>";
  11.     }
  12. ?>
  13. </body>
  14. </html>